package cn.wp.basic.service;

import cn.wp.basic.exception.CustomException;
import cn.wp.user.domain.User;

public interface IVerificationCodeService extends IBaseService<User> {

    /**
     * 门户网站 手机注册发送的验证码
     * @param phone
     * @throws CustomException
     */
    void sendUserRegMobileCode(String phone) throws CustomException;

    /**
     * 微信绑定手机号发送的验证码
     * @param phone
     * @throws CustomException
     */
    void sendBinderMobileCode(String phone) throws CustomException;
}
